package com.heima.model.behavior.dtos;

import lombok.Data;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

/**
 * @ClassName UnLikesBehaviorDto
 * @Description TODO
 * @Author AWei
 * @DATE 2021/4/22 23:17
 * @Version 1.0
 */
@Data
public class UnLikesBehaviorDto {

    // 设备ID
    Integer equipmentId;

    // 文章、动态、评论等ID
    @NotNull
    Long articleId;

    /**
     * 0:不喜欢 1:取消不喜欢
     */
    @Range(min = 0, max = 1)
    Short type;
}
